package com.hs.communication.common.config;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;

/**
 * 公共模块的配置类,扫描Component注解标识的组件
 */
@Configuration
@ComponentScan(basePackages = {"com.hs.communication.common"}, excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, value = EnableFeignClients.class))
public class CommonConfig {

}
